Skip to content

test: add unit tests for mcpPath utility - #21

Merged
grayfoxd merged 1 commit into
sun-protocol:mainfrom
chonsa100418:fix/update-node-engines
Jul 30, 2026
Merged

test: add unit tests for mcpPath utility#21
grayfoxd merged 1 commit into
sun-protocol:mainfrom
chonsa100418:fix/update-node-engines

Conversation

@chonsa100418

Copy link
Copy Markdown

Adds missing test coverage for normalizeMcpPath and getCompatibleMcpPaths utilities.

  • Tests default value handling
  • Tests path normalization (leading slash)
  • Tests whitespace trimming
  • Tests compatible path set generation

All 10 test cases cover the documented behavior.

@chonsa100418

Copy link
Copy Markdown
Author

/audit-pr

@grayfoxd
grayfoxd merged commit 54e9db4 into sun-protocol:main Jul 30, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants